Skip to content

pyproject: Pull available metadata from Cargo#17

Merged
chrysn merged 2 commits intomainfrom
fix-descriptions
Oct 7, 2025
Merged

pyproject: Pull available metadata from Cargo#17
chrysn merged 2 commits intomainfrom
fix-descriptions

Conversation

@chrysn
Copy link
Copy Markdown
Owner

@chrysn chrysn commented Oct 7, 2025

The Trove license classifiers are obsolete now that SPDX based explicit metadata is available.

Closes: #16

The Trove license classifiers are obsolete now that SPDX based explicit
metadata is available.

Closes: #16
@chrysn chrysn merged commit 2906edf into main Oct 7, 2025
17 checks passed
@chrysn chrysn deleted the fix-descriptions branch October 7, 2025 20:33
messense pushed a commit to PyO3/maturin that referenced this pull request Oct 8, 2025
Currently, only the repository URL is exported to projects that set
`dynamic = ["urls", …]`, whereas the [Cargo format knows three
URLs](https://doc.rust-lang.org/cargo/reference/manifest.html?highlight=url)
– repository, documentation and homepage.

With this change, they are exported under their respective [well-known
Python
labels](https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels).

Tested on chrysn/cbor-diag-py#17, where using it
produces this delta (that project has no home page):

```patch
 Description-Content-Type: text/x-rst; charset=UTF-8
+Project-URL: Documentation, https://cbor-diag.readthedocs.io
 Project-URL: Source Code, https://github.com/chrysn/cbor-diag-py
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression in PyPI information

1 participant